home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MACD 5
/
MACD 5.bin
/
workbench
/
boot
/
czesc_2
/
wbstartup
/
smakefile
< prev
next >
Wrap
Makefile
|
1995-11-25
|
2KB
|
71 lines
#
# SMakeFile pour WBStartup
#
APP = WBStartup
EXE = WBS
LIBS = LIB:sc.lib LIB:amiga.lib LIB:debug.lib
STRT = LIB:c.o
OBJS = WBS.o
##############################################################################
# Tout ce qui doit être construit...
#
all: $(EXE).db $(EXE)
##############################################################################
# Construction du fichier include de localisation
#
#Strings.h: $(EXE).cd
# Catcomp $(EXE).cd CFILE Strings.h CTFILE Catalogs/$(APP).ct
# @Echo "*N" NOLINE
##############################################################################
# Construction de l'exécutable AVEC informations de débogage
#
$(EXE).db: $(STRT) $(OBJS) $(LIBS)
#@Bump Version.c QUIET ONLYDATE
#@Sc Version.c NOGST NOVERSION NOVERBOSE
SLink <with <
FROM $(STRT),$(OBJS)
TO $(EXE).db
LIBRARY $(LIBS)
SMALLCODE SMALLDATA VERBOSE ADDSYM DEFINE ___main=___tinymain
NOICONS
#----------------- Seulement si UtilLib est spécifié dans SCOPTIONS :
WITH LIB:utillib.with
<
##############################################################################
# Construction de l'exécutable SANS informations de débogage
#
$(EXE): $(EXE).db
SLink $(EXE).db TO $(EXE) STRIPDEBUG
##############################################################################
# Met l'archive à jour
#
LHAPAT = ~(\#?(.o|.oo|.obj|.db|.db.info))
arc:
LHa -x -r -a -e u Archives:$(APP).lha $(LHAPAT)
##############################################################################
# Efface les objets
#
clean:
-delete \#?(.o|.oo|.obj)
##############################################################################
# Règles par défaut
#
.c.o:
Sc $*.c
##############################################################################
# Dépendances
#
WBS.o: WBS.c